package com.example.demo.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.example.demo.repository.dao.UserDao;


@Service
public class UserService {
	@Autowired
	private UserDao userDao;

	public String getUsers() {
		String str = userDao.findAll();
		return str;
	}
}
